package edu.spec.pms.service.iface;

import org.madgecko.basic.model.Pager;
import edu.spec.pms.model.sys.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface IUserService {
	void add(User user);
	void delete(Integer id);
	void update(User user);
	boolean importIn(MultipartFile file, HttpServletRequest req, HttpSession session);
	User load(Integer id);
	User loadByName(String name);
	Pager<User> findUserByCon(Integer status, String con);

}
